﻿using soma.Models.Resources;
using System.Collections.Generic;
using System.Web.Http;

namespace soma.Controllers
{
    public class WebsitesController : ApiController
    {
        private List<Website> websites;

        public WebsitesController()
        {
            websites = new List<Website>() { new Website("Flickr"), new Website("Twitter") }; 
        }

        // GET api/sites
        public List<Website> Get(string key)
        {
            return websites;
        }
    }
}
